package com.qf.listener;

import org.springframework.amqp.rabbit.annotation.RabbitHandler;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

/**
 * 队列3监听器
 * @author 千锋健哥
 */
@Component
@RabbitListener(queues = "queue3")
public class Queue3Listener {

    @RabbitHandler
    public void messageHandler(String msg) {
        System.out.println("Queue3Listener=====" + msg);
    }
}
